package com.shop.cereshop.app.dl.logic.domain;

import java.io.Serializable;
import java.util.Date;

public class CareShopNewsForwardLog implements Serializable {
    private Long forwardId;

    private Long newsId;

    private Long buyerUserId;

    private Date forwardTime;

    private String buyerUserName;

    private static final long serialVersionUID = 1L;

    public Long getForwardId() {
        return forwardId;
    }

    public void setForwardId(Long forwardId) {
        this.forwardId = forwardId;
    }

    public Long getNewsId() {
        return newsId;
    }

    public void setNewsId(Long newsId) {
        this.newsId = newsId;
    }

    public Long getBuyerUserId() {
        return buyerUserId;
    }

    public void setBuyerUserId(Long buyerUserId) {
        this.buyerUserId = buyerUserId;
    }

    public Date getForwardTime() {
        return forwardTime;
    }

    public void setForwardTime(Date forwardTime) {
        this.forwardTime = forwardTime;
    }

    public String getBuyerUserName() {
        return buyerUserName;
    }

    public void setBuyerUserName(String buyerUserName) {
        this.buyerUserName = buyerUserName == null ? null : buyerUserName.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", forwardId=").append(forwardId);
        sb.append(", newsId=").append(newsId);
        sb.append(", buyerUserId=").append(buyerUserId);
        sb.append(", forwardTime=").append(forwardTime);
        sb.append(", buyerUserName=").append(buyerUserName);
        sb.append("]");
        return sb.toString();
    }
}